package com.first_javaee.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController //是所有网页发过来的请求入口
public class firstConstroller { //controller控制器
    @RequestMapping("zhangsan")
    public String getMyProject(){
        return "my first javaEE";
    }
    @RequestMapping("lisi")
    public String getLiSiName(){
        return "迪士尼在逃李四";
    }
}
